Skip to content

Remove password expiration from superuser role in postgres_simple.yml#2

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-password-expiration-superuser
Closed

Remove password expiration from superuser role in postgres_simple.yml#2
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-password-expiration-superuser

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 1, 2026

The superuser role in the postgres_simple.yml template had a hardcoded VALID UNTIL expiration date, making it unsuitable for permanent administrative accounts.

Changes

  • src/acceptance-tests/testing/templates/postgres_simple.yml: Removed VALID UNTIL 'May 5 12:00:00 2035 +1' from superuser role permissions; SUPERUSER and CONNECTION LIMIT 33 are retained.
# Before
permissions:
- "SUPERUSER"
- "CONNECTION LIMIT 33"
- "VALID UNTIL 'May 5 12:00:00 2035 +1'"

# After
permissions:
- "SUPERUSER"
- "CONNECTION LIMIT 33"
Original prompt

The superuser role in the postgres_simple.yml template currently has a password expiration date set to "May 5 12:00:00 2035 +1". This expiration constraint should be removed to allow the superuser account to not have a password expiration date.

Changes needed:

  • Remove the VALID UNTIL 'May 5 12:00:00 2035 +1' line from the superuser role permissions in the postgres instance group
  • Keep all other permissions intact (SUPERUSER and CONNECTION LIMIT 33)

File to modify:

  • src/acceptance-tests/testing/templates/postgres_simple.yml

This change ensures the superuser account has no password expiration constraint, making it more suitable for permanent administrative accounts.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: - "VALID UNTIL 'May 5 12:00:00 2035 +1'"

Baue mir das so um, dass der User keine Ablaufdatum hat. Mache einen PR ready. Schreibe alles in englisch

Assistant: I'll analyze the file and create a pull request to remove the password expiration date for the superuser. Let me examine the current configuration and prepare the changes.

Assistant: I've created a pull request to remove the password expiration date from the superuser role in your postgres_simple.yml template. The change removes the VALID UNTIL 'May 5 12:00:00 2035 +1' line, so the superuser account will no longer have a password expiration constraint. The superuser will retain the SUPERUSER and CONNECTION LIMIT 33 permissions.

This pull request was created from Copilot chat.

Copilot AI changed the title [WIP] Remove password expiration for superuser role in template Remove password expiration from superuser role in postgres_simple.yml Apr 1, 2026
Copilot AI requested a review from ZPascal April 1, 2026 14:33
@ZPascal ZPascal closed this Apr 1, 2026
@ZPascal ZPascal deleted the copilot/remove-password-expiration-superuser branch April 1, 2026 14:41
ZPascal added a commit that referenced this pull request May 14, 2026
# This is the 1st commit message:

feat: Rebase the PR and update docs

# This is the commit message #2:

Bump packages

Bump packages

Bump packages
ZPascal added a commit that referenced this pull request May 15, 2026
# This is the 1st commit message:

feat: Rebase the PR and update docs

# This is the commit message #2:

Bump packages

Bump packages

Bump packages

# Conflicts:
#	jobs/postgres/templates/used_postgresql_versions.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants